translate coordinates from the window they were received on to the event
authorKristian Rietveld <kris@imendio.com>
Wed, 23 May 2007 12:32:42 +0000 (12:32 +0000)
committerKristian Rietveld <kristian@src.gnome.org>
Wed, 23 May 2007 12:32:42 +0000 (12:32 +0000)
commit5e59105ea3774b6de1c8c62dbee371b66768ea61
tree36ccca3378cac89649be029cd996492aca878c72
parent858c08aea63e600a753ac7c89ced02e7fb827821
translate coordinates from the window they were received on to the event

2007-05-23  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktooltip.c (find_widget_under_pointer): translate coordinates
from the window they were received on to the event widget's window;
correct for no-window widgets after that, bail out on failure.  This
makes the coordinates given by GtkWidget::query-tooltip truly relative
to widget->window.  (#435188).

* gtk/gtkwidget.c (gtk_widget_class_init): update docs for
GtkWidget::query-tooltip.

svn path=/trunk/; revision=17896
ChangeLog
gtk/gtktooltip.c
gtk/gtkwidget.c